package com.ifengxue.plugin.generator.config;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class EnumInstance {

    /**
     * 实例名
     */
    private String name;
    private Map<String, String> propertyMap = new HashMap<>();


    public EnumInstance addProperty(String name, String value) {
        propertyMap.put(name, value);
        return this;
    }
}
